Optimal. Leaf size=158 \[ -\frac{1}{24} \left (3 x^2+5 x+2\right )^{5/2} (2 x+3)^3+\frac{67}{126} \left (3 x^2+5 x+2\right )^{5/2} (2 x+3)^2+\frac{(33210 x+75451) \left (3 x^2+5 x+2\right )^{5/2}}{15120}+\frac{12277 (6 x+5) \left (3 x^2+5 x+2\right )^{3/2}}{20736}-\frac{12277 (6 x+5) \sqrt{3 x^2+5 x+2}}{165888}+\frac{12277 \tanh ^{-1}\left (\frac{6 x+5}{2 \sqrt{3} \sqrt{3 x^2+5 x+2}}\right )}{331776 \sqrt{3}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.248991, antiderivative size = 158, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 5, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.185 \[ -\frac{1}{24} \left (3 x^2+5 x+2\right )^{5/2} (2 x+3)^3+\frac{67}{126} \left (3 x^2+5 x+2\right )^{5/2} (2 x+3)^2+\frac{(33210 x+75451) \left (3 x^2+5 x+2\right )^{5/2}}{15120}+\frac{12277 (6 x+5) \left (3 x^2+5 x+2\right )^{3/2}}{20736}-\frac{12277 (6 x+5) \sqrt{3 x^2+5 x+2}}{165888}+\frac{12277 \tanh ^{-1}\left (\frac{6 x+5}{2 \sqrt{3} \sqrt{3 x^2+5 x+2}}\right )}{331776 \sqrt{3}} \]
Antiderivative was successfully verified.
[In] Int[(5 - x)*(3 + 2*x)^3*(2 + 5*x + 3*x^2)^(3/2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 26.728, size = 144, normalized size = 0.91 \[ - \frac{\left (2 x + 3\right )^{3} \left (3 x^{2} + 5 x + 2\right )^{\frac{5}{2}}}{24} + \frac{67 \left (2 x + 3\right )^{2} \left (3 x^{2} + 5 x + 2\right )^{\frac{5}{2}}}{126} + \frac{12277 \left (6 x + 5\right ) \left (3 x^{2} + 5 x + 2\right )^{\frac{3}{2}}}{20736} - \frac{12277 \left (6 x + 5\right ) \sqrt{3 x^{2} + 5 x + 2}}{165888} + \frac{\left (298890 x + 679059\right ) \left (3 x^{2} + 5 x + 2\right )^{\frac{5}{2}}}{136080} + \frac{12277 \sqrt{3} \operatorname{atanh}{\left (\frac{\sqrt{3} \left (6 x + 5\right )}{6 \sqrt{3 x^{2} + 5 x + 2}} \right )}}{995328} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((5-x)*(3+2*x)**3*(3*x**2+5*x+2)**(3/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.103882, size = 85, normalized size = 0.54 \[ \frac{429695 \sqrt{3} \log \left (-2 \sqrt{9 x^2+15 x+6}-6 x-5\right )-6 \sqrt{3 x^2+5 x+2} \left (17418240 x^7+25297920 x^6-368236800 x^5-1650151296 x^4-2993047920 x^3-2762417688 x^2-1276112350 x-233137461\right )}{34836480} \]
Antiderivative was successfully verified.
[In] Integrate[(5 - x)*(3 + 2*x)^3*(2 + 5*x + 3*x^2)^(3/2),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.01, size = 132, normalized size = 0.8 \[{\frac{61385+73662\,x}{20736} \left ( 3\,{x}^{2}+5\,x+2 \right ) ^{{\frac{3}{2}}}}-{\frac{61385+73662\,x}{165888}\sqrt{3\,{x}^{2}+5\,x+2}}+{\frac{12277\,\sqrt{3}}{995328}\ln \left ({\frac{\sqrt{3}}{3} \left ({\frac{5}{2}}+3\,x \right ) }+\sqrt{3\,{x}^{2}+5\,x+2} \right ) }+{\frac{130801}{15120} \left ( 3\,{x}^{2}+5\,x+2 \right ) ^{{\frac{5}{2}}}}+{\frac{1063\,x}{168} \left ( 3\,{x}^{2}+5\,x+2 \right ) ^{{\frac{5}{2}}}}+{\frac{79\,{x}^{2}}{126} \left ( 3\,{x}^{2}+5\,x+2 \right ) ^{{\frac{5}{2}}}}-{\frac{{x}^{3}}{3} \left ( 3\,{x}^{2}+5\,x+2 \right ) ^{{\frac{5}{2}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((5-x)*(3+2*x)^3*(3*x^2+5*x+2)^(3/2),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.779197, size = 203, normalized size = 1.28 \[ -\frac{1}{3} \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{5}{2}} x^{3} + \frac{79}{126} \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{5}{2}} x^{2} + \frac{1063}{168} \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{5}{2}} x + \frac{130801}{15120} \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{5}{2}} + \frac{12277}{3456} \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{3}{2}} x + \frac{61385}{20736} \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{3}{2}} - \frac{12277}{27648} \, \sqrt{3 \, x^{2} + 5 \, x + 2} x + \frac{12277}{995328} \, \sqrt{3} \log \left (2 \, \sqrt{3} \sqrt{3 \, x^{2} + 5 \, x + 2} + 6 \, x + 5\right ) - \frac{61385}{165888} \, \sqrt{3 \, x^{2} + 5 \, x + 2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-(3*x^2 + 5*x + 2)^(3/2)*(2*x + 3)^3*(x - 5),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.276166, size = 128, normalized size = 0.81 \[ -\frac{1}{69672960} \, \sqrt{3}{\left (4 \, \sqrt{3}{\left (17418240 \, x^{7} + 25297920 \, x^{6} - 368236800 \, x^{5} - 1650151296 \, x^{4} - 2993047920 \, x^{3} - 2762417688 \, x^{2} - 1276112350 \, x - 233137461\right )} \sqrt{3 \, x^{2} + 5 \, x + 2} - 429695 \, \log \left (\sqrt{3}{\left (72 \, x^{2} + 120 \, x + 49\right )} + 12 \, \sqrt{3 \, x^{2} + 5 \, x + 2}{\left (6 \, x + 5\right )}\right )\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-(3*x^2 + 5*x + 2)^(3/2)*(2*x + 3)^3*(x - 5),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ - \int \left (- 1161 x \sqrt{3 x^{2} + 5 x + 2}\right )\, dx - \int \left (- 1872 x^{2} \sqrt{3 x^{2} + 5 x + 2}\right )\, dx - \int \left (- 1367 x^{3} \sqrt{3 x^{2} + 5 x + 2}\right )\, dx - \int \left (- 382 x^{4} \sqrt{3 x^{2} + 5 x + 2}\right )\, dx - \int 28 x^{5} \sqrt{3 x^{2} + 5 x + 2}\, dx - \int 24 x^{6} \sqrt{3 x^{2} + 5 x + 2}\, dx - \int \left (- 270 \sqrt{3 x^{2} + 5 x + 2}\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((5-x)*(3+2*x)**3*(3*x**2+5*x+2)**(3/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.268377, size = 113, normalized size = 0.72 \[ -\frac{1}{5806080} \,{\left (2 \,{\left (12 \,{\left (6 \,{\left (8 \,{\left (30 \,{\left (12 \,{\left (42 \, x + 61\right )} x - 10655\right )} x - 1432423\right )} x - 20785055\right )} x - 115100737\right )} x - 638056175\right )} x - 233137461\right )} \sqrt{3 \, x^{2} + 5 \, x + 2} - \frac{12277}{995328} \, \sqrt{3}{\rm ln}\left ({\left | -2 \, \sqrt{3}{\left (\sqrt{3} x - \sqrt{3 \, x^{2} + 5 \, x + 2}\right )} - 5 \right |}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-(3*x^2 + 5*x + 2)^(3/2)*(2*x + 3)^3*(x - 5),x, algorithm="giac")
[Out]